# -*- coding:utf-8 -*-
import logging
from flask import Blueprint, request, render_template

try:
    import ujson as json
except:
    import json

doc = Blueprint('doc', __name__, url_prefix="/doc")
log = logging.getLogger(__file__)


@doc.route('/config/')
def doc_config():
    return render_template("config.html")


@doc.route('/interaction/')
def doc_inter():
    return render_template("interaction.html")


@doc.route('/events/')
def doc_events():
    return render_template("events.html")


@doc.route('/json/')
def doc_json():
    return render_template("json.html")


@doc.route('/htmls/')
def do_htmls():
    return render_template("htmls.html")
